package com.shm.mapper;
import com.ruoyi.common.core.domain.entity.ProvinceCityRegion;
import java.util.List;
/**
 * 省-市-区Mapper接口
 * 
 * @author dam
 * @date 2023-07-15
 */
public interface ProvinceCityRegionMapper 
{
    /**
     * 查询省-市-区
     * 
     * @param id 省-市-区主键
     * @return 省-市-区
     */
    public ProvinceCityRegion selectProvinceCityRegionById(Long id);

    /**
     * 查询省-市-区列表
     * 
     * @param provinceCityRegion 省-市-区
     * @return 省-市-区集合
     */
    public List<ProvinceCityRegion> selectProvinceCityRegionList(ProvinceCityRegion provinceCityRegion);

    /**
     * 新增省-市-区
     * 
     * @param provinceCityRegion 省-市-区
     * @return 结果
     */
    public int insertProvinceCityRegion(ProvinceCityRegion provinceCityRegion);

    /**
     * 修改省-市-区
     * 
     * @param provinceCityRegion 省-市-区
     * @return 结果
     */
    public int updateProvinceCityRegion(ProvinceCityRegion provinceCityRegion);

    /**
     * 删除省-市-区
     * 
     * @param id 省-市-区主键
     * @return 结果
     */
    public int deleteProvinceCityRegionById(Long id);

    /**
     * 批量删除省-市-区
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteProvinceCityRegionByIds(Long[] ids);


    List<ProvinceCityRegion> selectProvinceCityRegionByIds(Long[] ids);

    List<ProvinceCityRegion> listRegionByProvinceId(Long provinceId);
}
